﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.ETL.Domain.Views
{
    public class VReexecuteResult
    {
        public List<Item> Items { get; private set; }

        public VReexecuteResult()
        {
            Items = new List<Item>();
        }

        public class Item
        {
            public Guid BatchId { get; set; }

            public bool IsSuccess { get; set; }

            public int ErrorCode { get; set; }

            public string Message { get; set; }
            public Guid OldBatchId { get; set; }
            public DateTime OldCreatedTime { get; set; }

            public List<Entities.EBatchParameter> Parameters { get; set; }

            public List<Entities.EDtSourceParameter> SourceParameters { get; set; }
        }
    }
}
